package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 目录树对象 sys_dirtree
 * 
 * @author ruoyi
 * @date 2019-11-11
 */
public class SysDirtree extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long drrId;

    /** 父id */
    @Excel(name = "父id")
    private Long parentId;

    /** 目录名称 */
    @Excel(name = "目录名称")
    private String name;

    /** 目录类型 */
    @Excel(name = "目录类型")
    private String type;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public void setDrrId(Long drrId) 
    {
        this.drrId = drrId;
    }

    public Long getDrrId() 
    {
        return drrId;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drrId", getDrrId())
            .append("parentId", getParentId())
            .append("name", getName())
            .append("type", getType())
            .append("status", getStatus())
            .toString();
    }
}
